Matthias Clasen [Fri, 4 Jan 2002 23:49:20 +0000 (23:49 +0000)]
Fix a comment.
* gtk/gtkobject.c (gtk_object_dispose): Fix a comment.
* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change
* gtk/changes-1.2.sgml, gtk/changes-2.0.sgml: SGML fixes.
* gtk/tmpl/gtkobject.sgml: Document GTK_IN_DESTRUCTION.
* gtk/tmpl/gtkwidget.sgml: Additions.
Havoc Pennington [Fri, 4 Jan 2002 21:50:43 +0000 (21:50 +0000)]
tiny docs change
2002-01-04 Havoc Pennington <hp@pobox.com>
* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change
2002-01-04 Havoc Pennington <hp@pobox.com>
* gtk/question_index.sgml: add question to help people find
gtk_widget_set_sensitive() if they're used to another term for
that.
Owen Taylor [Fri, 4 Jan 2002 18:28:18 +0000 (18:28 +0000)]
At least don't infinite loop if the widget and window heirarchies don't
Fri Jan 4 13:05:15 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): At least
don't infinite loop if the widget and window heirarchies
don't correspond.
* gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes
in heirarchy in ::drag_motion, ::drag_drop callbacks
by referencing child widget lists. (Patch from Tim)
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem
with widgets where window.x != widget->allocation.
Stanislav Visnovsky [Fri, 4 Jan 2002 15:16:23 +0000 (15:16 +0000)]
Updated Slovak translation.
2002-01-04 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
Owen Taylor [Fri, 4 Jan 2002 06:38:32 +0000 (06:38 +0000)]
Optimize a little bit. (More for consistency than because it makes much of
Fri Jan 4 01:36:48 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize
a little bit. (More for consistency than because it
makes much of a difference.)
Owen Taylor [Fri, 4 Jan 2002 05:58:01 +0000 (05:58 +0000)]
Private function to tell if we have RENDER extension.
Thu Jan 3 22:18:15 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
(_gdk_x11_have_render): Private function to tell if we have RENDER
extension.
* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
None if we don't have RENDER extension.
* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
use Xft unless we have render extension.
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
Handle missing render extension.
* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
gdk/gdkinternals.h: Add a private copy_to_image() virtual function
to the GdkDrawable vtable that extends get_image() to allow
copying onto existing images. Make the default implementation of
get_image() use this so that backends don't have to implement
both. Add private wrapper _gdk_drawable_copy_to_image().
* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
copy_to_image() semantics, speed up by using ShmPixmaps and
XCopyArea when possible, XFlush() after ungrabbing the server,
generally redo the logic once again.
* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
_gdk_windowing_bits_per_depth(): Function to convert from depth to
bits-per-pixel. (We assume only one bpp per depth - X requires
this.)
* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
scratch image code into a generic _gdk_image_get_scratch() chunk
of code that we can use other places we need scratch images.
* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
Add _gdk_image_new_for_depth() as the backend
to _gdk_image_new() to allowing creating images with
a depth and no visual.
* gdk/gdkpixbuf-drawable.c: Fix so that getting
parts of images not at 0,0 actually works.
* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c:
- Add a new GdkDrawableClass vfunc _draw_pixbuf, and
_gdk_draw_pixbuf() [ will be made public later ], to allow
backends to accelerate drawing pixbufs.
- Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
to be the default implementation.
- Update docs for gdk_pixbuf_render_to_drawable_alpha().
- Optimize the default implementation by using
_gdk_image_copy_to_pixmap() and scratch shared images, and
special casing the compositing.
* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
with alpha using the RENDER extension.
* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
Optimize by _gdk_image_copy_to_pixmap() and scratch images.
* tests/testrgb.c: Add test for speed of alpha composition,
reduce the number of iterations since alpha composition
can be a bit slow.
* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap):
Private function to get a ShmPixmap for an image, if possible.
Havoc Pennington [Fri, 4 Jan 2002 03:34:12 +0000 (03:34 +0000)]
add mention of gtk_widget_add_events() and GTK_CAN_FOCUS
2002-01-03 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtkdrawingarea.sgml: add mention of
gtk_widget_add_events() and GTK_CAN_FOCUS
Anders Carlsson [Fri, 4 Jan 2002 00:47:29 +0000 (00:47 +0000)]
Add my cool list of integers.
2002-01-04 Anders Carlsson <andersca@gnu.org>
* tests/testtreesort.c: Add my cool list of integers.
Owen Taylor [Fri, 4 Jan 2002 00:38:15 +0000 (00:38 +0000)]
Fix problem where retrieved atoms weren't properly returned.
Thu Dec 27 18:12:55 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix
problem where retrieved atoms weren't properly returned.
Owen Taylor [Fri, 4 Jan 2002 00:34:06 +0000 (00:34 +0000)]
Fix and uncomment non-MMX version.
Thu Jan 3 19:31:58 2002 Owen Taylor <otaylor@redhat.com>
* pixops/pixops.c (scale_line_22_33): Fix and uncomment
non-MMX version.
* pixops/pixops.c (pixops_composite_nearest): Remove a
division.
* pixops/pixops.c (pixops_composite): Add some docs
about the parameters.
* pixops/README: Add notes about the correct algorithms
for alpha compositing and how to implement them quickly.
Matthias Clasen [Thu, 3 Jan 2002 23:04:44 +0000 (23:04 +0000)]
Small additions.
* gtk/tmpl/gtktextview.sgml: Small additions.
* gtk/tmpl/gtksignal.sgml: Explain what to use instead.
* gtk/question_index.sgml, gtk/text_widget.sgml, gtk/tree_widget.sgml,
gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
gtk/framebuffer.sgml: SGML fixes and additions.
* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkdialog.sgml,
gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml,
gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkrc.sgml,
gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtkspinbutton.sgml,
gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkwindow.sgml:
Replace references to deprecated functions.
Anders Carlsson [Thu, 3 Jan 2002 18:27:16 +0000 (18:27 +0000)]
When tab is pressed and the text view isn't editable, move the focus
2002-01-03 Anders Carlsson <andersca@gnu.org>
* gtk/gtktextview.c (gtk_text_view_key_press_event): When
tab is pressed and the text view isn't editable,
move the focus instead.
Matthias Clasen [Thu, 3 Jan 2002 00:36:09 +0000 (00:36 +0000)]
Add markup.
* gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
gtk/framebuffer.sgml: Add markup.
Anders Carlsson [Thu, 3 Jan 2002 00:30:39 +0000 (00:30 +0000)]
Free dash list if necessary.
2002-01-03 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
necessary.
* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.
* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.
* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
if it's NULL.
Anders Carlsson [Wed, 2 Jan 2002 23:51:03 +0000 (23:51 +0000)]
Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node.
2002-01-03 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
_gtk_tree_view_queue_draw_node.
(gtk_tree_view_row_has_child_toggled): Only redraw one node.
* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func):
sort_column_id can be 0.
* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
Only redraw one the node being selected.
* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.
Tim Janik [Wed, 2 Jan 2002 22:08:49 +0000 (22:08 +0000)]
don't ignore realized but visible && !mapped resize containers (which is
Wed Jan 2 23:09:06 2002 Tim Janik <timj@gtk.org>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
realized but visible && !mapped resize containers (which is
possible with unset CHILD_VISIBLE now).
jacob berkman [Wed, 2 Jan 2002 18:34:55 +0000 (18:34 +0000)]
automake still doesn't support libsomething_la_LDFLAGS, so fix the build
2002-01-02 jacob berkman <jacob@ximian.com>
* gtk/Makefile.am (LDFLAGS): automake still doesn't support
libsomething_la_LDFLAGS, so fix the build again
Havoc Pennington [Wed, 2 Jan 2002 03:49:09 +0000 (03:49 +0000)]
propagate exposes to no window children not in the buffer window.
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
exposes to no window children not in the buffer window.
(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
- is this the right way to do it?
(gtk_text_view_focus): add focus method, just chains up for now,
I'm not sure why the GtkContainer implementation doesn't work
* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
in the text line for the child anchor segment
* tests/testtext.c (do_add_focus_children): add another test
example (to put focusable buttons into the widget)
Havoc Pennington [Tue, 1 Jan 2002 23:51:00 +0000 (23:51 +0000)]
move README.linux-fb in here
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/framebuffer.sgml: move README.linux-fb in here
* gtk/tmpl/gtkpreview.sgml: explain what to use instead
* gtk/tmpl/gtkseparator.sgml: typo fix
* gtk/tmpl/gtkstock.sgml: add some overview docs
* gtk/Makefile.am (content_files): add new files
* gtk/changes-1.2.sgml: move Changes-1.2.txt in here
* gtk/changes-2.0.sgml: move Changes-2.0.txt in here
* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
overview docs, copy in the examples from the FAQ
* gtk/gtk-docs.sgml: change DTD to 3.1, and add
question_index.sgml and changes-1.2, changes-2.0
* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes
* gtk/question_index.sgml: new section with question-based
index of the manual
* gtk/text_widget.sgml: fix some cross-references
2002-01-01 Havoc Pennington <hp@pobox.com>
* docs/README.linux-fb: note that this file is obsolete
* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
files that they should not be edited and look in the reference
manual instead. Probably these files should just be replaced by
the note, and their main contents deleted.
* gtk/gtktextview.c: docs
* gtk/gtktextmark.c: docs
* gtk/gtktextchild.c: docs
* gtk/gtktextbuffer.c: docs stuff
* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
give people more leads in sorting out PRIMARY vs. CLIPBOARD
Tor Lillqvist [Tue, 1 Jan 2002 22:17:09 +0000 (22:17 +0000)]
Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource.
2002-01-01 Tor Lillqvist <tml@iki.fi>
* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
../gdk-pixbuf/gdk-pixbuf-csource.
2001-12-31 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
handling.
(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.
* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
-Wall. Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
one more place.
* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
-Wall.
* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.
Havoc Pennington [Tue, 1 Jan 2002 17:44:46 +0000 (17:44 +0000)]
doc fix
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented
* gtk/text_widget.sgml: small tweaks
Havoc Pennington [Tue, 1 Jan 2002 17:43:44 +0000 (17:43 +0000)]
docs updates, mention that invisible property isn't implemented
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented
* gtk/text_widget.sgml: small tweaks
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix
Havoc Pennington [Tue, 1 Jan 2002 17:17:22 +0000 (17:17 +0000)]
Replace call to gtk_widget_size_request() that expected to actually
2002-01-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (changed_handler): Replace call to
gtk_widget_size_request() that expected to actually compute the
request with a direct use of widget_class->size_request, so we get
our size request right; fixes remaining part of #63065 reported by
Matthias Clasen
Havoc Pennington [Mon, 31 Dec 2001 22:35:20 +0000 (22:35 +0000)]
remove backward_char since we no longer have bogus newline
2001-12-31 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (do_insert_and_scroll): remove backward_char
since we no longer have bogus newline
(dialog_response_callback): remove another backward_char horkage,
reported by Matthias Clasen #63065
Havoc Pennington [Mon, 31 Dec 2001 22:17:26 +0000 (22:17 +0000)]
fix an incorrect assertion that the "valid" flag is always correct in a
2001-12-31 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
fix an incorrect assertion that the "valid" flag is always correct
in a node and add explanatory comment. This keeps me from
reproducing #59101, but I'm remembering that 59101 was actually
about incorrect pixel totals, so I'm not sure 59101 is actually
fixed. May just have stopped happening due to some change in
how C-k works.
Havoc Pennington [Mon, 31 Dec 2001 17:58:04 +0000 (17:58 +0000)]
extend selection if shift is down, bug #50939
2001-12-31 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend
selection if shift is down, bug #50939
(gtk_text_view_button_press_event): add double/triple click
selection to the current selection if shift is down
Havoc Pennington [Mon, 31 Dec 2001 16:31:51 +0000 (16:31 +0000)]
fix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig
2001-12-31 Havoc Pennington <hp@pobox.com>
* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix
to use ensure_byte_offsets not ensure_char_offsets, patch
from Padraig O'Briain bug #67356
Havoc Pennington [Mon, 31 Dec 2001 04:43:07 +0000 (04:43 +0000)]
fix GtkDialogFlags to have the right values, reported by Jeff Franks
2001-12-30 Havoc Pennington <hp@pobox.com>
* gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have
the right values, reported by Jeff Franks
Matthias Clasen [Mon, 31 Dec 2001 00:05:30 +0000 (00:05 +0000)]
Remove references to nonexisting functions.
* gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.
* gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml,
gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
gtk/tmpl/gtkradiomenuitem.sgml:
Replace references to deprecated functions.
* gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.
Matthias Clasen [Sun, 30 Dec 2001 22:56:05 +0000 (22:56 +0000)]
Additions.
* gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.
* gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
Tor Lillqvist [Sat, 29 Dec 2001 10:09:50 +0000 (10:09 +0000)]
Add makefile.msc.
2001-12-29 Tor Lillqvist <tml@iki.fi>
* Makefile.am (EXTRA_DIST): Add makefile.msc.
Matthias Clasen [Sat, 29 Dec 2001 00:24:25 +0000 (00:24 +0000)]
GDK instead of Gdk.
* gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.
* gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
deprecated functions.
* gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
gdk/tmpl/images.sgml: Replace references to deprecated functions.
* gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.
* gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
Minor documentation tweaks.
Vasif Ismailoglu MD [Fri, 28 Dec 2001 22:06:43 +0000 (22:06 +0000)]
az:po * updating
Tor Lillqvist [Fri, 28 Dec 2001 21:52:04 +0000 (21:52 +0000)]
Use G_N_ELEMENTS(). (unicode_classify): Don't return -1 on encountering an
2001-12-28 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS().
(unicode_classify): Don't return -1 on encountering an
unclassified character, but play it safe and return U_BASIC_LATIN.
Vitaly Tishkov [Fri, 28 Dec 2001 15:48:45 +0000 (15:48 +0000)]
additional fix for #59314 ('<programlisting>' is changed to '<literal>' in
2001-12-28 Vitaly Tishkov <tvv@sparc.spb.su>
* gtkwindow.sgml: additional fix for #59314 ('<programlisting>' is
changed to '<literal>' in docs for gtk_window_set_policy ())
Owen Taylor [Thu, 27 Dec 2001 21:42:02 +0000 (21:42 +0000)]
Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do
Thu Dec 27 16:05:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
of misc->xpad/ypad consistent with GtkLabel. Do
directional flipping when interpreting misc->xalign/yalign.
Fix off-by-one error for negative x,y. (#67472, reported
by Mathieu Lacage)
Owen Taylor [Thu, 27 Dec 2001 20:50:49 +0000 (20:50 +0000)]
Remove optimization that was causing problems because we called
Thu Dec 27 15:45:41 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Remove optimization that was causing problems because
we called gtk_widget_size_request() before we called
gtk_widget_queue_resize() so RESIZE_NEEDED was not
set. Optimization shouldn't mattter now that we
are smart about needlessly size requesting or allocating
widgets. (#67598, reported by Jacob Berkman)
Owen Taylor [Thu, 27 Dec 2001 20:43:58 +0000 (20:43 +0000)]
Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
Call gdk_window_get_pointer() on menu->bin_window not
menu->window, so we get the correct window for the
menu item. (#65213, Guillermo S. Romero)
Owen Taylor [Thu, 27 Dec 2001 20:22:16 +0000 (20:22 +0000)]
Allow unsetting the title by setting to NULL. Move docs inline. Update the
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
the title by setting to NULL. Move docs inline.
Update the title if the tearoff window already
exists. Code cleanup. (Fixes #65190, reported by
Vitaly Tishkov.)
Owen Taylor [Thu, 27 Dec 2001 19:20:23 +0000 (19:20 +0000)]
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key
Thu Dec 27 14:04:22 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_key_press_event):
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
special handling of key presses unless we are doing
iter-app embedding. (Fixes #67590, Anders Carlsson)
Kristian Rietveld [Thu, 27 Dec 2001 15:38:10 +0000 (15:38 +0000)]
fix a few places where I was confused between modelsort iters and other
Thu Dec 27 16:37:04 2001 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
(gtk_tree_model_sort_sort_level),
(gtk_tree_model_sort_insert_value): fix a few places where
I was confused between modelsort iters and other iters. This was
really going to happen someday ;)
Kristian Rietveld [Wed, 26 Dec 2001 22:43:53 +0000 (22:43 +0000)]
ensure we are unprelighted before reordering
Wed Dec 26 23:41:41 2001 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
we are unprelighted before reordering
* gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
need to break out of the for loop, not return
* gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
be pretty stable now, though it still needs some more code
cleanups.
Owen Taylor [Wed, 26 Dec 2001 17:38:39 +0000 (17:38 +0000)]
Document the fact that gtk_paned_set_handle_size() has been removed.
Wed Dec 26 12:32:31 2001 Owen Taylor <otaylor@redhat.com>
* docs/Changes-2.0.txt: Document the fact that
gtk_paned_set_handle_size() has been removed.
* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
since it pointed to gtk_paned_set_handle_size(), which
was removed. (#66760, Matt Wilson)
Owen Taylor [Wed, 26 Dec 2001 17:31:40 +0000 (17:31 +0000)]
Connect gtk_drag_hightlight_expose _after_, so it works with widgets that
Wed Dec 26 12:28:24 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_highlight): Connect
gtk_drag_hightlight_expose _after_, so it works with
widgets that paint there entire background. (#66735)
Owen Taylor [Wed, 26 Dec 2001 17:21:31 +0000 (17:21 +0000)]
Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)
Wed Dec 26 12:17:06 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
allocation to widget->allocation. (Fixes #67290,
Chris Phelps.)
Owen Taylor [Wed, 26 Dec 2001 17:06:13 +0000 (17:06 +0000)]
(#67542, reported by Anders Carlsson)
Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com>
(#67542, reported by Anders Carlsson)
* gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
rc_style->font_desc with defaul style instead of replacing
it.
* gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
font descriptions in RC styles by calling
pango_font_description_merge().
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:43 +0000 (19:32 +0000)]
\7fupdating Azerbaijani po file
\7fupdating Azerbaijani po file
Owen Taylor [Mon, 24 Dec 2001 01:49:19 +0000 (01:49 +0000)]
1.3.12, interface, binary age 0.
Sat Dec 22 12:38:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: 1.3.12, interface, binary age 0.
James Henstridge [Mon, 24 Dec 2001 01:34:29 +0000 (01:34 +0000)]
s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
2001-12-24 James Henstridge <james@daa.com.au>
* gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
valid with both SGML and XML.
Owen Taylor [Sun, 23 Dec 2001 22:59:30 +0000 (22:59 +0000)]
1.3.12, interface, binary age 0.
Sat Dec 22 12:38:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: 1.3.12, interface, binary age 0.
* configure.in: Require new versions of Glib, Pango, ATK.
* NEWS: Updated.
* configure.in: Make explicit what libtool we are executing.
(Tomas Ogren)
* gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.
* gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
parameter names for docs.
Sat Dec 22 22:35:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_realize)
gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.
* gtk/gtkentry.c (gtk_entry_key_release)
gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
key release events to the input method.
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
Handle release of Control/Shift to end hex sequence.
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): Handle key releases as well as presses.
Owen Taylor [Sun, 23 Dec 2001 22:55:53 +0000 (22:55 +0000)]
Fix trailing "," in enumeration.
Sat Dec 22 15:31:20 2001 Owen Taylor <otaylor@redhat.com>
* gdk-pixdata.h: Fix trailing "," in enumeration.
Owen Taylor [Sun, 23 Dec 2001 22:55:17 +0000 (22:55 +0000)]
Add gtktextutil.h
Sat Dec 22 18:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am (IGNORE_HFILES): Add gtktextutil.h
* gtk/text_widget.sgml (linkend): SGML fixes.
* gtk/gtk-sections.txt: Update
* gdk/gdk-sections.txt: Update.
* gdk/tmpl/cursors.sgml: SGML fix.
* gdk/gdk-docs.sgml: Add PNG handling magic.
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:14:31 +0000 (20:14 +0000)]
*** empty log message ***
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:06:39 +0000 (20:06 +0000)]
routine update for Azeri translation file
routine update for Azeri translation file
Marius Andreiana [Sat, 22 Dec 2001 12:04:35 +0000 (12:04 +0000)]
updated
2001-12-22 Marius Andreiana <mandreiana@yahoo.com>
* ro.po: updated
Matthias Clasen [Thu, 20 Dec 2001 23:45:48 +0000 (23:45 +0000)]
Forgotten files, the log entries are already in.
Matthias Clasen [Thu, 20 Dec 2001 23:44:19 +0000 (23:44 +0000)]
Forgotten files.
Matthias Clasen [Thu, 20 Dec 2001 23:42:08 +0000 (23:42 +0000)]
Forgotten log entry.
Matthias Clasen [Thu, 20 Dec 2001 23:38:24 +0000 (23:38 +0000)]
Trivial doc adjustment.
Matthias Clasen [Thu, 20 Dec 2001 23:09:29 +0000 (23:09 +0000)]
More precise documentation about underscores and mnemonics. (#66380)
* gtk/gtklabel.c (gtk_label_new_with_mnemonic),
gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
documentation about underscores and mnemonics. (#66380)
* gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
cyclic reference in docs.
* gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
of default value. (#65402)
* gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
Markup fixes.
* gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
gdk-pixdata.c: Markup fixes.
* gtk/text_widget.sgml: More precise wording. (#63388)
* gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.
* gtk/resources.sgml: Fix markup of mail URLs.
* gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.
* gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
Expand documentation. (#60471)
* gtk/tmpl/gtkmain.sgml: Remove misleading information about
gtk_set_locale(). (#65758)
Anders Carlsson [Thu, 20 Dec 2001 04:06:01 +0000 (04:06 +0000)]
Don't call map here.
2001-12-20 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
map here.
Christian Rose [Wed, 19 Dec 2001 20:22:32 +0000 (20:22 +0000)]
Updated Swedish translation.
2001-12-19 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Vasif Ismailoglu MD [Wed, 19 Dec 2001 19:09:57 +0000 (19:09 +0000)]
routine update
Owen Taylor [Tue, 18 Dec 2001 21:17:49 +0000 (21:17 +0000)]
Explicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.)
Tue Dec 18 16:15:55 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkgc.h: Explicitely deprecate gdk_gc_set_font()
(reported by Jeff Franks.)
Owen Taylor [Tue, 18 Dec 2001 21:10:04 +0000 (21:10 +0000)]
Fix prototype for direction_changed. (Reported by Jeff Franks.)
Tue Dec 18 16:07:28 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkkeys.h (struct _GdkKeymapClass): Fix
prototype for direction_changed. (Reported by
Jeff Franks.)
Anders Carlsson [Tue, 18 Dec 2001 16:28:17 +0000 (16:28 +0000)]
Change GdkWidget to GtkWidget. Fixes #67162.
2001-12-18 Anders Carlsson <andersca@gnu.org>
* gtk/tmpl/gtkdrawingarea.sgml: Change GdkWidget to
GtkWidget. Fixes #67162.
Yuri Syrota [Tue, 18 Dec 2001 11:15:26 +0000 (11:15 +0000)]
Updated Ukrainian translation
Padraig O'Briain [Tue, 18 Dec 2001 08:06:34 +0000 (08:06 +0000)]
Fix typo (list->data becomes list->next)
* gtk/gtktreeview.c (gtk_tree_view_get_expander_column):
Fix typo (list->data becomes list->next)
Matthias Clasen [Mon, 17 Dec 2001 23:07:49 +0000 (23:07 +0000)]
Markup fixes.
* gdk-pixbuf/tmpl/creating.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.
* gtk/building.sgml, gtk/resources.sgml: Markup fixes.
* gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)
* gdk/tmpl/general.sgml: Use <envar>, not <envvar>.
* gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
gdk-pixdata.c: Markup fixes.
Matthias Clasen [Mon, 17 Dec 2001 23:06:47 +0000 (23:06 +0000)]
Markup fixes.
* gdk-pixbuf/tmpl/creating.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.
* gtk/building.sgml, gtk/resources.sgml: Markup fixes.
* gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)
* gdk/tmpl/general.sgml: Use <envar>, not <envvar>.
* gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
gdk-pixdata.c: Markup fixes.
Havoc Pennington [Mon, 17 Dec 2001 16:46:08 +0000 (16:46 +0000)]
Add Unicode control char menu, based on patch from Dov. Bug #63495
2001-12-06 Havoc Pennington <hp@redhat.com>
Add Unicode control char menu, based on patch from Dov.
Bug #63495
* gtk/gtkentry.c (gtk_entry_commit_cb): share code via
gtk_entry_enter_text
(gtk_entry_enter_text): function to do "typing in text"
(popup_targets_received): add the Unicode menu items
* gtk/gtktextview.c (popup_targets_received): add missing mnemonic
on Input Methods item, and add the unicode menu items.
* gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
used in GtkEntry and GtkTextView - may become public later.
Havoc Pennington [Sun, 16 Dec 2001 21:12:13 +0000 (21:12 +0000)]
put _simple variants at the top of the docs
2001-12-16 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf/gdk-pixbuf-sections.txt: put _simple variants at the
top of the docs
Havoc Pennington [Sun, 16 Dec 2001 21:09:30 +0000 (21:09 +0000)]
small doc tweaks, specifically some "just do XYZ" advice next to the
2001-12-16 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf/tmpl/scaling.sgml: small doc tweaks, specifically
some "just do XYZ" advice next to the InterpMode technojargon.
2001-12-16 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf-scale.c: docs enhancements
Matthias Clasen [Sun, 16 Dec 2001 19:32:19 +0000 (19:32 +0000)]
Add something about GdkModifierType.
* gdk/tmpl/windows.sgml: Add something about GdkModifierType.
Kjartan Maraas [Sun, 16 Dec 2001 17:00:55 +0000 (17:00 +0000)]
Fix a typo. Fix a typo.
2001-12-16 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkprogressbar.c: Fix a typo.
* gtk/gtkpaned.c: Fix a typo.
Darin Adler [Sat, 15 Dec 2001 17:17:56 +0000 (17:17 +0000)]
Fix some warnings.
* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
Restructure loop to get rid of uninitialized variable warning. Also
gives a tiny efficiency gain.
Christian Rose [Sat, 15 Dec 2001 15:38:31 +0000 (15:38 +0000)]
Updated Swedish translation.
2001-12-15 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Murray Cumming [Sat, 15 Dec 2001 11:11:42 +0000 (11:11 +0000)]
Fixed first arg type of GtkScale's format_value signal's function pointer.
* Fixed first arg type of GtkScale's format_value signal's
function pointer.
Marius Andreiana [Sat, 15 Dec 2001 07:13:02 +0000 (07:13 +0000)]
updated
2001-12-15 Marius Andreiana <mandreiana@yahoo.com>
* ro.po: updated
Vitaly Tishkov [Fri, 14 Dec 2001 18:57:39 +0000 (18:57 +0000)]
2001-12-14 Vitaly Tishkov tvv@sparc.spb.su
docs/reference/gtk/tmpl/gtkcelleditable.sgml
gtkcelleditable -> GtkCellEditable
docs/reference/gtk/tmpl/gtktreesortable.sgml
gtktreesortable -> GtkTreeSortable
Sebastian Wilhelmi [Fri, 14 Dec 2001 09:40:20 +0000 (09:40 +0000)]
Use g_ascii_strcasecmp() instead of g_strcasecmp().
2001-12-14 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
Sebastian Wilhelmi [Thu, 13 Dec 2001 21:22:12 +0000 (21:22 +0000)]
Remove assorted G_OBJECT casts where unnecessary.
2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove
assorted G_OBJECT casts where unnecessary.
* gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref
instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref
resp.
* gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c,
io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c,
io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and
gdk_pixbuf_unref.
* Makefile.am, pixops/Makefile.am: Compile everything with
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
* gdk-pixdata.c: Use g_ascii_strup() instead of g_strup().
* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().
* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
resp.
Kristian Rietveld [Thu, 13 Dec 2001 21:01:46 +0000 (21:01 +0000)]
free path at the end
Thu Dec 13 22:02:41 2001 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (validate_visible_area): free path
at the end
Kjartan Maraas [Thu, 13 Dec 2001 19:59:18 +0000 (19:59 +0000)]
Updated Norwegian (bokmål) translation.
2001-12-13 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Matthias Clasen [Thu, 13 Dec 2001 19:51:24 +0000 (19:51 +0000)]
Markup fixes.
* gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.
* gdk-pixbuf-io.c: Markup fixes.
* gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
Kristian Rietveld [Thu, 13 Dec 2001 19:36:40 +0000 (19:36 +0000)]
do not try to find the clicked node in the tree when tree == NULL
Thu Dec 13 20:37:27 2001 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): do not try
to find the clicked node in the tree when tree == NULL
Anders Carlsson [Thu, 13 Dec 2001 17:25:22 +0000 (17:25 +0000)]
Compare event->state with the default mod mask.
2001-12-13 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Compare
event->state with the default mod mask.
Stanislav Visnovsky [Thu, 13 Dec 2001 13:33:22 +0000 (13:33 +0000)]
Updated Slovak translation.
2001-12-13 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
jacob berkman [Wed, 12 Dec 2001 23:04:12 +0000 (23:04 +0000)]
s/obj/klass/ where appropriate
2001-12-12 jacob berkman <jacob@ximian.com>
* gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate
Owen Taylor [Wed, 12 Dec 2001 22:35:31 +0000 (22:35 +0000)]
Reset the existing slave before removing it to give it a chance to commit
Wed Dec 12 17:22:45 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
Reset the existing slave before removing it to give
it a chance to commit and emit "preedit_changed"
in case there was still a preedit string.
Matthias Clasen [Wed, 12 Dec 2001 22:29:53 +0000 (22:29 +0000)]
Typo fixes Typo fix. (#66746)
* gtk/gtktextlayout.c: Typo fixes
* gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
* gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
* gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
* gtk/tmpl/gtklist.sgml: Markup fixes.
* gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
* gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
GTK_STYLE_NUM_STYLECOLORS. (#66467)
Matthias Clasen [Wed, 12 Dec 2001 22:20:36 +0000 (22:20 +0000)]
define G_LOG_DOMAIN for GdkPixbuf.
Jonathan Blandford [Wed, 12 Dec 2001 22:15:27 +0000 (22:15 +0000)]
Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.
Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove
validate_rows_timer in unrealize. Reported by Matthew Wilson.
Matthias Clasen [Wed, 12 Dec 2001 22:11:37 +0000 (22:11 +0000)]
Markup fixes.
* gdk-pixbuf-loader.c, gdk-pixbuf-util.c: Markup fixes.
Owen Taylor [Wed, 12 Dec 2001 21:30:08 +0000 (21:30 +0000)]
Remove support for "prepainting" the menu before realizing other than via
Wed Dec 12 16:18:26 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_realize): Remove support for
"prepainting" the menu before realizing other than
via gtk_style_set_background() - this was broken when
we added menu scroll support.
* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
window in the expose event -- fixes problem with border
flashing during scrolling.
Owen Taylor [Wed, 12 Dec 2001 20:26:50 +0000 (20:26 +0000)]
Support using names/nicks for the gdk_settings values for enum valued
Wed Dec 12 15:11:49 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_get_property): Support
using names/nicks for the gdk_settings values for enum valued
types. (#57678, reported by Anders Carlsson)
Jonathan Blandford [Wed, 12 Dec 2001 20:10:52 +0000 (20:10 +0000)]
keep in sync with insert_page_menu. Code duplication is bad.
Wed Dec 12 15:01:33 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync
with insert_page_menu. Code duplication is bad.
* gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the
wrong fix yesterday.
Owen Taylor [Wed, 12 Dec 2001 19:30:01 +0000 (19:30 +0000)]
Fix check for modifiers.
Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenubar.c (window_key_press_handler): Fix check for
modifiers.
James Henstridge [Wed, 12 Dec 2001 12:21:52 +0000 (12:21 +0000)]
check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the
2001-12-12 James Henstridge <james@daa.com.au>
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
(menu_item)->accel_path first when looking up the accel path.
Havoc Pennington [Wed, 12 Dec 2001 06:40:08 +0000 (06:40 +0000)]
add another example
2001-12-12 Havoc Pennington <hp@pobox.com>
* gtk/text_widget.sgml: add another example